package com.daigou.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import com.daigou.model.Order;
/**
 * 订单信息包装类-给前端用的
 * @author lizhi
 *
 */
public class OrderDto implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//订单列表
	private List<Order> orderList;
	//总订单数量
	private Integer totalCount = 0;
	//总caogao订单数量
	private Integer caogaoCount = 0;
	
	private BigDecimal totalAmount = BigDecimal.ZERO;
	private BigDecimal payAmount = BigDecimal.ZERO;
	private BigDecimal noPayAmount = BigDecimal.ZERO;
		
	public List<Order> getOrderList() {
		return orderList;
	}
	public void setOrderList(List<Order> orderList) {
		this.orderList = orderList;
	}
	public Integer getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}
	
	public Integer getCaogaoCount() {
		return caogaoCount;
	}
	public void setCaogaoCount(Integer caogaoCount) {
		this.caogaoCount = caogaoCount;
	}
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(BigDecimal totalAmount) {
		if(totalAmount != null){
			this.totalAmount = totalAmount;
		}
	}
	public BigDecimal getPayAmount() {
		return payAmount;
	}
	public void setPayAmount(BigDecimal payAmount) {
		if(payAmount != null){
			this.payAmount = payAmount;
		}
	}
	public BigDecimal getNoPayAmount() {
		return noPayAmount;
	}
	public void setNoPayAmount(BigDecimal noPayAmount) {
		if(noPayAmount != null){
			this.noPayAmount = noPayAmount;
		}
	}
}
